package com.example.reader.dao;


import com.example.common.model.Catalog;
import com.example.common.otherObject.Articles;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Auther: JJun
 * @Date: 2018/9/3 09:56
 * @Description:
 */
@Mapper
@Repository
public interface ReaderDao {

    List<Articles> getArticles(Integer pn);

    List<Catalog> getCatalogs();
}
